<?php
	include_once("../DAO/sanPhamDAO.php");
	include_once("../DTO/sanPhamDTO.php");
	
	class sanPhamBUS
	{
		var $sanPhamDAO;
		function __construct()
		{
			return $this->sanPhamDAO = new sanPhamDAO();	
		}
		function load_SP_All()
		{
			return $this->sanPhamDAO->load_SP_All();
		}
		
		function load_SP_One($idSanPham)
		{
			return $this->sanPhamDAO->load_SP_One($idSanPham);
		}
		
		function load_SP()
		{
			return $this->sanPhamDAO->load_SP();
		}
		
		function load_SP_Hot()
		{
			return $this->sanPhamDAO->load_SP_Hot();
		}
		
		function themSanPham()
		{
			return $this->sanPhamDAO->themSanPham();
		}
	}
?>